package com.example.demo.common.domain;

import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;
@Component
public class HotelExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HotelExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andHotelIdIsNull() {
            addCriterion("hotel_id is null");
            return (Criteria) this;
        }

        public Criteria andHotelIdIsNotNull() {
            addCriterion("hotel_id is not null");
            return (Criteria) this;
        }

        public Criteria andHotelIdEqualTo(String value) {
            addCriterion("hotel_id =", value, "hotelId");
            return (Criteria) this;
        }

        public Criteria andHotelIdNotEqualTo(String value) {
            addCriterion("hotel_id <>", value, "hotelId");
            return (Criteria) this;
        }

        public Criteria andHotelIdGreaterThan(String value) {
            addCriterion("hotel_id >", value, "hotelId");
            return (Criteria) this;
        }

        public Criteria andHotelIdGreaterThanOrEqualTo(String value) {
            addCriterion("hotel_id >=", value, "hotelId");
            return (Criteria) this;
        }

        public Criteria andHotelIdLessThan(String value) {
            addCriterion("hotel_id <", value, "hotelId");
            return (Criteria) this;
        }

        public Criteria andHotelIdLessThanOrEqualTo(String value) {
            addCriterion("hotel_id <=", value, "hotelId");
            return (Criteria) this;
        }

        public Criteria andHotelIdLike(String value) {
            addCriterion("hotel_id like", value, "hotelId");
            return (Criteria) this;
        }

        public Criteria andHotelIdNotLike(String value) {
            addCriterion("hotel_id not like", value, "hotelId");
            return (Criteria) this;
        }

        public Criteria andHotelIdIn(List<String> values) {
            addCriterion("hotel_id in", values, "hotelId");
            return (Criteria) this;
        }

        public Criteria andHotelIdNotIn(List<String> values) {
            addCriterion("hotel_id not in", values, "hotelId");
            return (Criteria) this;
        }

        public Criteria andHotelIdBetween(String value1, String value2) {
            addCriterion("hotel_id between", value1, value2, "hotelId");
            return (Criteria) this;
        }

        public Criteria andHotelIdNotBetween(String value1, String value2) {
            addCriterion("hotel_id not between", value1, value2, "hotelId");
            return (Criteria) this;
        }

        public Criteria andChainIdIsNull() {
            addCriterion("chain_id is null");
            return (Criteria) this;
        }

        public Criteria andChainIdIsNotNull() {
            addCriterion("chain_id is not null");
            return (Criteria) this;
        }

        public Criteria andChainIdEqualTo(String value) {
            addCriterion("chain_id =", value, "chainId");
            return (Criteria) this;
        }

        public Criteria andChainIdNotEqualTo(String value) {
            addCriterion("chain_id <>", value, "chainId");
            return (Criteria) this;
        }

        public Criteria andChainIdGreaterThan(String value) {
            addCriterion("chain_id >", value, "chainId");
            return (Criteria) this;
        }

        public Criteria andChainIdGreaterThanOrEqualTo(String value) {
            addCriterion("chain_id >=", value, "chainId");
            return (Criteria) this;
        }

        public Criteria andChainIdLessThan(String value) {
            addCriterion("chain_id <", value, "chainId");
            return (Criteria) this;
        }

        public Criteria andChainIdLessThanOrEqualTo(String value) {
            addCriterion("chain_id <=", value, "chainId");
            return (Criteria) this;
        }

        public Criteria andChainIdLike(String value) {
            addCriterion("chain_id like", value, "chainId");
            return (Criteria) this;
        }

        public Criteria andChainIdNotLike(String value) {
            addCriterion("chain_id not like", value, "chainId");
            return (Criteria) this;
        }

        public Criteria andChainIdIn(List<String> values) {
            addCriterion("chain_id in", values, "chainId");
            return (Criteria) this;
        }

        public Criteria andChainIdNotIn(List<String> values) {
            addCriterion("chain_id not in", values, "chainId");
            return (Criteria) this;
        }

        public Criteria andChainIdBetween(String value1, String value2) {
            addCriterion("chain_id between", value1, value2, "chainId");
            return (Criteria) this;
        }

        public Criteria andChainIdNotBetween(String value1, String value2) {
            addCriterion("chain_id not between", value1, value2, "chainId");
            return (Criteria) this;
        }

        public Criteria andChainNameIsNull() {
            addCriterion("chain_name is null");
            return (Criteria) this;
        }

        public Criteria andChainNameIsNotNull() {
            addCriterion("chain_name is not null");
            return (Criteria) this;
        }

        public Criteria andChainNameEqualTo(String value) {
            addCriterion("chain_name =", value, "chainName");
            return (Criteria) this;
        }

        public Criteria andChainNameNotEqualTo(String value) {
            addCriterion("chain_name <>", value, "chainName");
            return (Criteria) this;
        }

        public Criteria andChainNameGreaterThan(String value) {
            addCriterion("chain_name >", value, "chainName");
            return (Criteria) this;
        }

        public Criteria andChainNameGreaterThanOrEqualTo(String value) {
            addCriterion("chain_name >=", value, "chainName");
            return (Criteria) this;
        }

        public Criteria andChainNameLessThan(String value) {
            addCriterion("chain_name <", value, "chainName");
            return (Criteria) this;
        }

        public Criteria andChainNameLessThanOrEqualTo(String value) {
            addCriterion("chain_name <=", value, "chainName");
            return (Criteria) this;
        }

        public Criteria andChainNameLike(String value) {
            addCriterion("chain_name like", value, "chainName");
            return (Criteria) this;
        }

        public Criteria andChainNameNotLike(String value) {
            addCriterion("chain_name not like", value, "chainName");
            return (Criteria) this;
        }

        public Criteria andChainNameIn(List<String> values) {
            addCriterion("chain_name in", values, "chainName");
            return (Criteria) this;
        }

        public Criteria andChainNameNotIn(List<String> values) {
            addCriterion("chain_name not in", values, "chainName");
            return (Criteria) this;
        }

        public Criteria andChainNameBetween(String value1, String value2) {
            addCriterion("chain_name between", value1, value2, "chainName");
            return (Criteria) this;
        }

        public Criteria andChainNameNotBetween(String value1, String value2) {
            addCriterion("chain_name not between", value1, value2, "chainName");
            return (Criteria) this;
        }

        public Criteria andBrandIdIsNull() {
            addCriterion("brand_id is null");
            return (Criteria) this;
        }

        public Criteria andBrandIdIsNotNull() {
            addCriterion("brand_id is not null");
            return (Criteria) this;
        }

        public Criteria andBrandIdEqualTo(String value) {
            addCriterion("brand_id =", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotEqualTo(String value) {
            addCriterion("brand_id <>", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdGreaterThan(String value) {
            addCriterion("brand_id >", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdGreaterThanOrEqualTo(String value) {
            addCriterion("brand_id >=", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdLessThan(String value) {
            addCriterion("brand_id <", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdLessThanOrEqualTo(String value) {
            addCriterion("brand_id <=", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdLike(String value) {
            addCriterion("brand_id like", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotLike(String value) {
            addCriterion("brand_id not like", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdIn(List<String> values) {
            addCriterion("brand_id in", values, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotIn(List<String> values) {
            addCriterion("brand_id not in", values, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdBetween(String value1, String value2) {
            addCriterion("brand_id between", value1, value2, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotBetween(String value1, String value2) {
            addCriterion("brand_id not between", value1, value2, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandNameIsNull() {
            addCriterion("brand_name is null");
            return (Criteria) this;
        }

        public Criteria andBrandNameIsNotNull() {
            addCriterion("brand_name is not null");
            return (Criteria) this;
        }

        public Criteria andBrandNameEqualTo(String value) {
            addCriterion("brand_name =", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameNotEqualTo(String value) {
            addCriterion("brand_name <>", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameGreaterThan(String value) {
            addCriterion("brand_name >", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameGreaterThanOrEqualTo(String value) {
            addCriterion("brand_name >=", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameLessThan(String value) {
            addCriterion("brand_name <", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameLessThanOrEqualTo(String value) {
            addCriterion("brand_name <=", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameLike(String value) {
            addCriterion("brand_name like", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameNotLike(String value) {
            addCriterion("brand_name not like", value, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameIn(List<String> values) {
            addCriterion("brand_name in", values, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameNotIn(List<String> values) {
            addCriterion("brand_name not in", values, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameBetween(String value1, String value2) {
            addCriterion("brand_name between", value1, value2, "brandName");
            return (Criteria) this;
        }

        public Criteria andBrandNameNotBetween(String value1, String value2) {
            addCriterion("brand_name not between", value1, value2, "brandName");
            return (Criteria) this;
        }

        public Criteria andHotelNameIsNull() {
            addCriterion("hotel_name is null");
            return (Criteria) this;
        }

        public Criteria andHotelNameIsNotNull() {
            addCriterion("hotel_name is not null");
            return (Criteria) this;
        }

        public Criteria andHotelNameEqualTo(String value) {
            addCriterion("hotel_name =", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameNotEqualTo(String value) {
            addCriterion("hotel_name <>", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameGreaterThan(String value) {
            addCriterion("hotel_name >", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameGreaterThanOrEqualTo(String value) {
            addCriterion("hotel_name >=", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameLessThan(String value) {
            addCriterion("hotel_name <", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameLessThanOrEqualTo(String value) {
            addCriterion("hotel_name <=", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameLike(String value) {
            addCriterion("hotel_name like", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameNotLike(String value) {
            addCriterion("hotel_name not like", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameIn(List<String> values) {
            addCriterion("hotel_name in", values, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameNotIn(List<String> values) {
            addCriterion("hotel_name not in", values, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameBetween(String value1, String value2) {
            addCriterion("hotel_name between", value1, value2, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameNotBetween(String value1, String value2) {
            addCriterion("hotel_name not between", value1, value2, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameIsNull() {
            addCriterion("hotel_formerly_name is null");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameIsNotNull() {
            addCriterion("hotel_formerly_name is not null");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameEqualTo(String value) {
            addCriterion("hotel_formerly_name =", value, "hotelFormerlyName");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameNotEqualTo(String value) {
            addCriterion("hotel_formerly_name <>", value, "hotelFormerlyName");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameGreaterThan(String value) {
            addCriterion("hotel_formerly_name >", value, "hotelFormerlyName");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameGreaterThanOrEqualTo(String value) {
            addCriterion("hotel_formerly_name >=", value, "hotelFormerlyName");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameLessThan(String value) {
            addCriterion("hotel_formerly_name <", value, "hotelFormerlyName");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameLessThanOrEqualTo(String value) {
            addCriterion("hotel_formerly_name <=", value, "hotelFormerlyName");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameLike(String value) {
            addCriterion("hotel_formerly_name like", value, "hotelFormerlyName");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameNotLike(String value) {
            addCriterion("hotel_formerly_name not like", value, "hotelFormerlyName");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameIn(List<String> values) {
            addCriterion("hotel_formerly_name in", values, "hotelFormerlyName");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameNotIn(List<String> values) {
            addCriterion("hotel_formerly_name not in", values, "hotelFormerlyName");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameBetween(String value1, String value2) {
            addCriterion("hotel_formerly_name between", value1, value2, "hotelFormerlyName");
            return (Criteria) this;
        }

        public Criteria andHotelFormerlyNameNotBetween(String value1, String value2) {
            addCriterion("hotel_formerly_name not between", value1, value2, "hotelFormerlyName");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameIsNull() {
            addCriterion("hotel_translated_name is null");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameIsNotNull() {
            addCriterion("hotel_translated_name is not null");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameEqualTo(String value) {
            addCriterion("hotel_translated_name =", value, "hotelTranslatedName");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameNotEqualTo(String value) {
            addCriterion("hotel_translated_name <>", value, "hotelTranslatedName");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameGreaterThan(String value) {
            addCriterion("hotel_translated_name >", value, "hotelTranslatedName");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameGreaterThanOrEqualTo(String value) {
            addCriterion("hotel_translated_name >=", value, "hotelTranslatedName");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameLessThan(String value) {
            addCriterion("hotel_translated_name <", value, "hotelTranslatedName");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameLessThanOrEqualTo(String value) {
            addCriterion("hotel_translated_name <=", value, "hotelTranslatedName");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameLike(String value) {
            addCriterion("hotel_translated_name like", value, "hotelTranslatedName");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameNotLike(String value) {
            addCriterion("hotel_translated_name not like", value, "hotelTranslatedName");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameIn(List<String> values) {
            addCriterion("hotel_translated_name in", values, "hotelTranslatedName");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameNotIn(List<String> values) {
            addCriterion("hotel_translated_name not in", values, "hotelTranslatedName");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameBetween(String value1, String value2) {
            addCriterion("hotel_translated_name between", value1, value2, "hotelTranslatedName");
            return (Criteria) this;
        }

        public Criteria andHotelTranslatedNameNotBetween(String value1, String value2) {
            addCriterion("hotel_translated_name not between", value1, value2, "hotelTranslatedName");
            return (Criteria) this;
        }

        public Criteria andAddressline1IsNull() {
            addCriterion("addressline1 is null");
            return (Criteria) this;
        }

        public Criteria andAddressline1IsNotNull() {
            addCriterion("addressline1 is not null");
            return (Criteria) this;
        }

        public Criteria andAddressline1EqualTo(String value) {
            addCriterion("addressline1 =", value, "addressline1");
            return (Criteria) this;
        }

        public Criteria andAddressline1NotEqualTo(String value) {
            addCriterion("addressline1 <>", value, "addressline1");
            return (Criteria) this;
        }

        public Criteria andAddressline1GreaterThan(String value) {
            addCriterion("addressline1 >", value, "addressline1");
            return (Criteria) this;
        }

        public Criteria andAddressline1GreaterThanOrEqualTo(String value) {
            addCriterion("addressline1 >=", value, "addressline1");
            return (Criteria) this;
        }

        public Criteria andAddressline1LessThan(String value) {
            addCriterion("addressline1 <", value, "addressline1");
            return (Criteria) this;
        }

        public Criteria andAddressline1LessThanOrEqualTo(String value) {
            addCriterion("addressline1 <=", value, "addressline1");
            return (Criteria) this;
        }

        public Criteria andAddressline1Like(String value) {
            addCriterion("addressline1 like", value, "addressline1");
            return (Criteria) this;
        }

        public Criteria andAddressline1NotLike(String value) {
            addCriterion("addressline1 not like", value, "addressline1");
            return (Criteria) this;
        }

        public Criteria andAddressline1In(List<String> values) {
            addCriterion("addressline1 in", values, "addressline1");
            return (Criteria) this;
        }

        public Criteria andAddressline1NotIn(List<String> values) {
            addCriterion("addressline1 not in", values, "addressline1");
            return (Criteria) this;
        }

        public Criteria andAddressline1Between(String value1, String value2) {
            addCriterion("addressline1 between", value1, value2, "addressline1");
            return (Criteria) this;
        }

        public Criteria andAddressline1NotBetween(String value1, String value2) {
            addCriterion("addressline1 not between", value1, value2, "addressline1");
            return (Criteria) this;
        }

        public Criteria andAddressline2IsNull() {
            addCriterion("addressline2 is null");
            return (Criteria) this;
        }

        public Criteria andAddressline2IsNotNull() {
            addCriterion("addressline2 is not null");
            return (Criteria) this;
        }

        public Criteria andAddressline2EqualTo(String value) {
            addCriterion("addressline2 =", value, "addressline2");
            return (Criteria) this;
        }

        public Criteria andAddressline2NotEqualTo(String value) {
            addCriterion("addressline2 <>", value, "addressline2");
            return (Criteria) this;
        }

        public Criteria andAddressline2GreaterThan(String value) {
            addCriterion("addressline2 >", value, "addressline2");
            return (Criteria) this;
        }

        public Criteria andAddressline2GreaterThanOrEqualTo(String value) {
            addCriterion("addressline2 >=", value, "addressline2");
            return (Criteria) this;
        }

        public Criteria andAddressline2LessThan(String value) {
            addCriterion("addressline2 <", value, "addressline2");
            return (Criteria) this;
        }

        public Criteria andAddressline2LessThanOrEqualTo(String value) {
            addCriterion("addressline2 <=", value, "addressline2");
            return (Criteria) this;
        }

        public Criteria andAddressline2Like(String value) {
            addCriterion("addressline2 like", value, "addressline2");
            return (Criteria) this;
        }

        public Criteria andAddressline2NotLike(String value) {
            addCriterion("addressline2 not like", value, "addressline2");
            return (Criteria) this;
        }

        public Criteria andAddressline2In(List<String> values) {
            addCriterion("addressline2 in", values, "addressline2");
            return (Criteria) this;
        }

        public Criteria andAddressline2NotIn(List<String> values) {
            addCriterion("addressline2 not in", values, "addressline2");
            return (Criteria) this;
        }

        public Criteria andAddressline2Between(String value1, String value2) {
            addCriterion("addressline2 between", value1, value2, "addressline2");
            return (Criteria) this;
        }

        public Criteria andAddressline2NotBetween(String value1, String value2) {
            addCriterion("addressline2 not between", value1, value2, "addressline2");
            return (Criteria) this;
        }

        public Criteria andZipcodeIsNull() {
            addCriterion("zipcode is null");
            return (Criteria) this;
        }

        public Criteria andZipcodeIsNotNull() {
            addCriterion("zipcode is not null");
            return (Criteria) this;
        }

        public Criteria andZipcodeEqualTo(String value) {
            addCriterion("zipcode =", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeNotEqualTo(String value) {
            addCriterion("zipcode <>", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeGreaterThan(String value) {
            addCriterion("zipcode >", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeGreaterThanOrEqualTo(String value) {
            addCriterion("zipcode >=", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeLessThan(String value) {
            addCriterion("zipcode <", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeLessThanOrEqualTo(String value) {
            addCriterion("zipcode <=", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeLike(String value) {
            addCriterion("zipcode like", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeNotLike(String value) {
            addCriterion("zipcode not like", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeIn(List<String> values) {
            addCriterion("zipcode in", values, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeNotIn(List<String> values) {
            addCriterion("zipcode not in", values, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeBetween(String value1, String value2) {
            addCriterion("zipcode between", value1, value2, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeNotBetween(String value1, String value2) {
            addCriterion("zipcode not between", value1, value2, "zipcode");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("city is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("city is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("city =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("city <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("city >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("city >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("city <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("city <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("city like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("city not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("city in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("city not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("city between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("city not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("state like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("state not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andCountryIsNull() {
            addCriterion("country is null");
            return (Criteria) this;
        }

        public Criteria andCountryIsNotNull() {
            addCriterion("country is not null");
            return (Criteria) this;
        }

        public Criteria andCountryEqualTo(String value) {
            addCriterion("country =", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotEqualTo(String value) {
            addCriterion("country <>", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThan(String value) {
            addCriterion("country >", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThanOrEqualTo(String value) {
            addCriterion("country >=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThan(String value) {
            addCriterion("country <", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThanOrEqualTo(String value) {
            addCriterion("country <=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLike(String value) {
            addCriterion("country like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotLike(String value) {
            addCriterion("country not like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryIn(List<String> values) {
            addCriterion("country in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotIn(List<String> values) {
            addCriterion("country not in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryBetween(String value1, String value2) {
            addCriterion("country between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotBetween(String value1, String value2) {
            addCriterion("country not between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeIsNull() {
            addCriterion("countryisocode is null");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeIsNotNull() {
            addCriterion("countryisocode is not null");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeEqualTo(String value) {
            addCriterion("countryisocode =", value, "countryisocode");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeNotEqualTo(String value) {
            addCriterion("countryisocode <>", value, "countryisocode");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeGreaterThan(String value) {
            addCriterion("countryisocode >", value, "countryisocode");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeGreaterThanOrEqualTo(String value) {
            addCriterion("countryisocode >=", value, "countryisocode");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeLessThan(String value) {
            addCriterion("countryisocode <", value, "countryisocode");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeLessThanOrEqualTo(String value) {
            addCriterion("countryisocode <=", value, "countryisocode");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeLike(String value) {
            addCriterion("countryisocode like", value, "countryisocode");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeNotLike(String value) {
            addCriterion("countryisocode not like", value, "countryisocode");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeIn(List<String> values) {
            addCriterion("countryisocode in", values, "countryisocode");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeNotIn(List<String> values) {
            addCriterion("countryisocode not in", values, "countryisocode");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeBetween(String value1, String value2) {
            addCriterion("countryisocode between", value1, value2, "countryisocode");
            return (Criteria) this;
        }

        public Criteria andCountryisocodeNotBetween(String value1, String value2) {
            addCriterion("countryisocode not between", value1, value2, "countryisocode");
            return (Criteria) this;
        }

        public Criteria andStarRatingIsNull() {
            addCriterion("star_rating is null");
            return (Criteria) this;
        }

        public Criteria andStarRatingIsNotNull() {
            addCriterion("star_rating is not null");
            return (Criteria) this;
        }

        public Criteria andStarRatingEqualTo(String value) {
            addCriterion("star_rating =", value, "starRating");
            return (Criteria) this;
        }

        public Criteria andStarRatingNotEqualTo(String value) {
            addCriterion("star_rating <>", value, "starRating");
            return (Criteria) this;
        }

        public Criteria andStarRatingGreaterThan(String value) {
            addCriterion("star_rating >", value, "starRating");
            return (Criteria) this;
        }

        public Criteria andStarRatingGreaterThanOrEqualTo(String value) {
            addCriterion("star_rating >=", value, "starRating");
            return (Criteria) this;
        }

        public Criteria andStarRatingLessThan(String value) {
            addCriterion("star_rating <", value, "starRating");
            return (Criteria) this;
        }

        public Criteria andStarRatingLessThanOrEqualTo(String value) {
            addCriterion("star_rating <=", value, "starRating");
            return (Criteria) this;
        }

        public Criteria andStarRatingLike(String value) {
            addCriterion("star_rating like", value, "starRating");
            return (Criteria) this;
        }

        public Criteria andStarRatingNotLike(String value) {
            addCriterion("star_rating not like", value, "starRating");
            return (Criteria) this;
        }

        public Criteria andStarRatingIn(List<String> values) {
            addCriterion("star_rating in", values, "starRating");
            return (Criteria) this;
        }

        public Criteria andStarRatingNotIn(List<String> values) {
            addCriterion("star_rating not in", values, "starRating");
            return (Criteria) this;
        }

        public Criteria andStarRatingBetween(String value1, String value2) {
            addCriterion("star_rating between", value1, value2, "starRating");
            return (Criteria) this;
        }

        public Criteria andStarRatingNotBetween(String value1, String value2) {
            addCriterion("star_rating not between", value1, value2, "starRating");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNull() {
            addCriterion("longitude is null");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNotNull() {
            addCriterion("longitude is not null");
            return (Criteria) this;
        }

        public Criteria andLongitudeEqualTo(String value) {
            addCriterion("longitude =", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotEqualTo(String value) {
            addCriterion("longitude <>", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThan(String value) {
            addCriterion("longitude >", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThanOrEqualTo(String value) {
            addCriterion("longitude >=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThan(String value) {
            addCriterion("longitude <", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThanOrEqualTo(String value) {
            addCriterion("longitude <=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLike(String value) {
            addCriterion("longitude like", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotLike(String value) {
            addCriterion("longitude not like", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIn(List<String> values) {
            addCriterion("longitude in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotIn(List<String> values) {
            addCriterion("longitude not in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeBetween(String value1, String value2) {
            addCriterion("longitude between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotBetween(String value1, String value2) {
            addCriterion("longitude not between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNull() {
            addCriterion("latitude is null");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNotNull() {
            addCriterion("latitude is not null");
            return (Criteria) this;
        }

        public Criteria andLatitudeEqualTo(String value) {
            addCriterion("latitude =", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotEqualTo(String value) {
            addCriterion("latitude <>", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThan(String value) {
            addCriterion("latitude >", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThanOrEqualTo(String value) {
            addCriterion("latitude >=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThan(String value) {
            addCriterion("latitude <", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThanOrEqualTo(String value) {
            addCriterion("latitude <=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLike(String value) {
            addCriterion("latitude like", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotLike(String value) {
            addCriterion("latitude not like", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIn(List<String> values) {
            addCriterion("latitude in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotIn(List<String> values) {
            addCriterion("latitude not in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeBetween(String value1, String value2) {
            addCriterion("latitude between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotBetween(String value1, String value2) {
            addCriterion("latitude not between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andCheckinIsNull() {
            addCriterion("checkin is null");
            return (Criteria) this;
        }

        public Criteria andCheckinIsNotNull() {
            addCriterion("checkin is not null");
            return (Criteria) this;
        }

        public Criteria andCheckinEqualTo(String value) {
            addCriterion("checkin =", value, "checkin");
            return (Criteria) this;
        }

        public Criteria andCheckinNotEqualTo(String value) {
            addCriterion("checkin <>", value, "checkin");
            return (Criteria) this;
        }

        public Criteria andCheckinGreaterThan(String value) {
            addCriterion("checkin >", value, "checkin");
            return (Criteria) this;
        }

        public Criteria andCheckinGreaterThanOrEqualTo(String value) {
            addCriterion("checkin >=", value, "checkin");
            return (Criteria) this;
        }

        public Criteria andCheckinLessThan(String value) {
            addCriterion("checkin <", value, "checkin");
            return (Criteria) this;
        }

        public Criteria andCheckinLessThanOrEqualTo(String value) {
            addCriterion("checkin <=", value, "checkin");
            return (Criteria) this;
        }

        public Criteria andCheckinLike(String value) {
            addCriterion("checkin like", value, "checkin");
            return (Criteria) this;
        }

        public Criteria andCheckinNotLike(String value) {
            addCriterion("checkin not like", value, "checkin");
            return (Criteria) this;
        }

        public Criteria andCheckinIn(List<String> values) {
            addCriterion("checkin in", values, "checkin");
            return (Criteria) this;
        }

        public Criteria andCheckinNotIn(List<String> values) {
            addCriterion("checkin not in", values, "checkin");
            return (Criteria) this;
        }

        public Criteria andCheckinBetween(String value1, String value2) {
            addCriterion("checkin between", value1, value2, "checkin");
            return (Criteria) this;
        }

        public Criteria andCheckinNotBetween(String value1, String value2) {
            addCriterion("checkin not between", value1, value2, "checkin");
            return (Criteria) this;
        }

        public Criteria andCheckoutIsNull() {
            addCriterion("checkout is null");
            return (Criteria) this;
        }

        public Criteria andCheckoutIsNotNull() {
            addCriterion("checkout is not null");
            return (Criteria) this;
        }

        public Criteria andCheckoutEqualTo(String value) {
            addCriterion("checkout =", value, "checkout");
            return (Criteria) this;
        }

        public Criteria andCheckoutNotEqualTo(String value) {
            addCriterion("checkout <>", value, "checkout");
            return (Criteria) this;
        }

        public Criteria andCheckoutGreaterThan(String value) {
            addCriterion("checkout >", value, "checkout");
            return (Criteria) this;
        }

        public Criteria andCheckoutGreaterThanOrEqualTo(String value) {
            addCriterion("checkout >=", value, "checkout");
            return (Criteria) this;
        }

        public Criteria andCheckoutLessThan(String value) {
            addCriterion("checkout <", value, "checkout");
            return (Criteria) this;
        }

        public Criteria andCheckoutLessThanOrEqualTo(String value) {
            addCriterion("checkout <=", value, "checkout");
            return (Criteria) this;
        }

        public Criteria andCheckoutLike(String value) {
            addCriterion("checkout like", value, "checkout");
            return (Criteria) this;
        }

        public Criteria andCheckoutNotLike(String value) {
            addCriterion("checkout not like", value, "checkout");
            return (Criteria) this;
        }

        public Criteria andCheckoutIn(List<String> values) {
            addCriterion("checkout in", values, "checkout");
            return (Criteria) this;
        }

        public Criteria andCheckoutNotIn(List<String> values) {
            addCriterion("checkout not in", values, "checkout");
            return (Criteria) this;
        }

        public Criteria andCheckoutBetween(String value1, String value2) {
            addCriterion("checkout between", value1, value2, "checkout");
            return (Criteria) this;
        }

        public Criteria andCheckoutNotBetween(String value1, String value2) {
            addCriterion("checkout not between", value1, value2, "checkout");
            return (Criteria) this;
        }

        public Criteria andNumberroomsIsNull() {
            addCriterion("numberrooms is null");
            return (Criteria) this;
        }

        public Criteria andNumberroomsIsNotNull() {
            addCriterion("numberrooms is not null");
            return (Criteria) this;
        }

        public Criteria andNumberroomsEqualTo(String value) {
            addCriterion("numberrooms =", value, "numberrooms");
            return (Criteria) this;
        }

        public Criteria andNumberroomsNotEqualTo(String value) {
            addCriterion("numberrooms <>", value, "numberrooms");
            return (Criteria) this;
        }

        public Criteria andNumberroomsGreaterThan(String value) {
            addCriterion("numberrooms >", value, "numberrooms");
            return (Criteria) this;
        }

        public Criteria andNumberroomsGreaterThanOrEqualTo(String value) {
            addCriterion("numberrooms >=", value, "numberrooms");
            return (Criteria) this;
        }

        public Criteria andNumberroomsLessThan(String value) {
            addCriterion("numberrooms <", value, "numberrooms");
            return (Criteria) this;
        }

        public Criteria andNumberroomsLessThanOrEqualTo(String value) {
            addCriterion("numberrooms <=", value, "numberrooms");
            return (Criteria) this;
        }

        public Criteria andNumberroomsLike(String value) {
            addCriterion("numberrooms like", value, "numberrooms");
            return (Criteria) this;
        }

        public Criteria andNumberroomsNotLike(String value) {
            addCriterion("numberrooms not like", value, "numberrooms");
            return (Criteria) this;
        }

        public Criteria andNumberroomsIn(List<String> values) {
            addCriterion("numberrooms in", values, "numberrooms");
            return (Criteria) this;
        }

        public Criteria andNumberroomsNotIn(List<String> values) {
            addCriterion("numberrooms not in", values, "numberrooms");
            return (Criteria) this;
        }

        public Criteria andNumberroomsBetween(String value1, String value2) {
            addCriterion("numberrooms between", value1, value2, "numberrooms");
            return (Criteria) this;
        }

        public Criteria andNumberroomsNotBetween(String value1, String value2) {
            addCriterion("numberrooms not between", value1, value2, "numberrooms");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsIsNull() {
            addCriterion("numberfloors is null");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsIsNotNull() {
            addCriterion("numberfloors is not null");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsEqualTo(String value) {
            addCriterion("numberfloors =", value, "numberfloors");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsNotEqualTo(String value) {
            addCriterion("numberfloors <>", value, "numberfloors");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsGreaterThan(String value) {
            addCriterion("numberfloors >", value, "numberfloors");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsGreaterThanOrEqualTo(String value) {
            addCriterion("numberfloors >=", value, "numberfloors");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsLessThan(String value) {
            addCriterion("numberfloors <", value, "numberfloors");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsLessThanOrEqualTo(String value) {
            addCriterion("numberfloors <=", value, "numberfloors");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsLike(String value) {
            addCriterion("numberfloors like", value, "numberfloors");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsNotLike(String value) {
            addCriterion("numberfloors not like", value, "numberfloors");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsIn(List<String> values) {
            addCriterion("numberfloors in", values, "numberfloors");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsNotIn(List<String> values) {
            addCriterion("numberfloors not in", values, "numberfloors");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsBetween(String value1, String value2) {
            addCriterion("numberfloors between", value1, value2, "numberfloors");
            return (Criteria) this;
        }

        public Criteria andNumberfloorsNotBetween(String value1, String value2) {
            addCriterion("numberfloors not between", value1, value2, "numberfloors");
            return (Criteria) this;
        }

        public Criteria andYearopenedIsNull() {
            addCriterion("yearopened is null");
            return (Criteria) this;
        }

        public Criteria andYearopenedIsNotNull() {
            addCriterion("yearopened is not null");
            return (Criteria) this;
        }

        public Criteria andYearopenedEqualTo(String value) {
            addCriterion("yearopened =", value, "yearopened");
            return (Criteria) this;
        }

        public Criteria andYearopenedNotEqualTo(String value) {
            addCriterion("yearopened <>", value, "yearopened");
            return (Criteria) this;
        }

        public Criteria andYearopenedGreaterThan(String value) {
            addCriterion("yearopened >", value, "yearopened");
            return (Criteria) this;
        }

        public Criteria andYearopenedGreaterThanOrEqualTo(String value) {
            addCriterion("yearopened >=", value, "yearopened");
            return (Criteria) this;
        }

        public Criteria andYearopenedLessThan(String value) {
            addCriterion("yearopened <", value, "yearopened");
            return (Criteria) this;
        }

        public Criteria andYearopenedLessThanOrEqualTo(String value) {
            addCriterion("yearopened <=", value, "yearopened");
            return (Criteria) this;
        }

        public Criteria andYearopenedLike(String value) {
            addCriterion("yearopened like", value, "yearopened");
            return (Criteria) this;
        }

        public Criteria andYearopenedNotLike(String value) {
            addCriterion("yearopened not like", value, "yearopened");
            return (Criteria) this;
        }

        public Criteria andYearopenedIn(List<String> values) {
            addCriterion("yearopened in", values, "yearopened");
            return (Criteria) this;
        }

        public Criteria andYearopenedNotIn(List<String> values) {
            addCriterion("yearopened not in", values, "yearopened");
            return (Criteria) this;
        }

        public Criteria andYearopenedBetween(String value1, String value2) {
            addCriterion("yearopened between", value1, value2, "yearopened");
            return (Criteria) this;
        }

        public Criteria andYearopenedNotBetween(String value1, String value2) {
            addCriterion("yearopened not between", value1, value2, "yearopened");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedIsNull() {
            addCriterion("yearrenovated is null");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedIsNotNull() {
            addCriterion("yearrenovated is not null");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedEqualTo(String value) {
            addCriterion("yearrenovated =", value, "yearrenovated");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedNotEqualTo(String value) {
            addCriterion("yearrenovated <>", value, "yearrenovated");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedGreaterThan(String value) {
            addCriterion("yearrenovated >", value, "yearrenovated");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedGreaterThanOrEqualTo(String value) {
            addCriterion("yearrenovated >=", value, "yearrenovated");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedLessThan(String value) {
            addCriterion("yearrenovated <", value, "yearrenovated");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedLessThanOrEqualTo(String value) {
            addCriterion("yearrenovated <=", value, "yearrenovated");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedLike(String value) {
            addCriterion("yearrenovated like", value, "yearrenovated");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedNotLike(String value) {
            addCriterion("yearrenovated not like", value, "yearrenovated");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedIn(List<String> values) {
            addCriterion("yearrenovated in", values, "yearrenovated");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedNotIn(List<String> values) {
            addCriterion("yearrenovated not in", values, "yearrenovated");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedBetween(String value1, String value2) {
            addCriterion("yearrenovated between", value1, value2, "yearrenovated");
            return (Criteria) this;
        }

        public Criteria andYearrenovatedNotBetween(String value1, String value2) {
            addCriterion("yearrenovated not between", value1, value2, "yearrenovated");
            return (Criteria) this;
        }

        public Criteria andPhoto1IsNull() {
            addCriterion("photo1 is null");
            return (Criteria) this;
        }

        public Criteria andPhoto1IsNotNull() {
            addCriterion("photo1 is not null");
            return (Criteria) this;
        }

        public Criteria andPhoto1EqualTo(String value) {
            addCriterion("photo1 =", value, "photo1");
            return (Criteria) this;
        }

        public Criteria andPhoto1NotEqualTo(String value) {
            addCriterion("photo1 <>", value, "photo1");
            return (Criteria) this;
        }

        public Criteria andPhoto1GreaterThan(String value) {
            addCriterion("photo1 >", value, "photo1");
            return (Criteria) this;
        }

        public Criteria andPhoto1GreaterThanOrEqualTo(String value) {
            addCriterion("photo1 >=", value, "photo1");
            return (Criteria) this;
        }

        public Criteria andPhoto1LessThan(String value) {
            addCriterion("photo1 <", value, "photo1");
            return (Criteria) this;
        }

        public Criteria andPhoto1LessThanOrEqualTo(String value) {
            addCriterion("photo1 <=", value, "photo1");
            return (Criteria) this;
        }

        public Criteria andPhoto1Like(String value) {
            addCriterion("photo1 like", value, "photo1");
            return (Criteria) this;
        }

        public Criteria andPhoto1NotLike(String value) {
            addCriterion("photo1 not like", value, "photo1");
            return (Criteria) this;
        }

        public Criteria andPhoto1In(List<String> values) {
            addCriterion("photo1 in", values, "photo1");
            return (Criteria) this;
        }

        public Criteria andPhoto1NotIn(List<String> values) {
            addCriterion("photo1 not in", values, "photo1");
            return (Criteria) this;
        }

        public Criteria andPhoto1Between(String value1, String value2) {
            addCriterion("photo1 between", value1, value2, "photo1");
            return (Criteria) this;
        }

        public Criteria andPhoto1NotBetween(String value1, String value2) {
            addCriterion("photo1 not between", value1, value2, "photo1");
            return (Criteria) this;
        }

        public Criteria andPhoto2IsNull() {
            addCriterion("photo2 is null");
            return (Criteria) this;
        }

        public Criteria andPhoto2IsNotNull() {
            addCriterion("photo2 is not null");
            return (Criteria) this;
        }

        public Criteria andPhoto2EqualTo(String value) {
            addCriterion("photo2 =", value, "photo2");
            return (Criteria) this;
        }

        public Criteria andPhoto2NotEqualTo(String value) {
            addCriterion("photo2 <>", value, "photo2");
            return (Criteria) this;
        }

        public Criteria andPhoto2GreaterThan(String value) {
            addCriterion("photo2 >", value, "photo2");
            return (Criteria) this;
        }

        public Criteria andPhoto2GreaterThanOrEqualTo(String value) {
            addCriterion("photo2 >=", value, "photo2");
            return (Criteria) this;
        }

        public Criteria andPhoto2LessThan(String value) {
            addCriterion("photo2 <", value, "photo2");
            return (Criteria) this;
        }

        public Criteria andPhoto2LessThanOrEqualTo(String value) {
            addCriterion("photo2 <=", value, "photo2");
            return (Criteria) this;
        }

        public Criteria andPhoto2Like(String value) {
            addCriterion("photo2 like", value, "photo2");
            return (Criteria) this;
        }

        public Criteria andPhoto2NotLike(String value) {
            addCriterion("photo2 not like", value, "photo2");
            return (Criteria) this;
        }

        public Criteria andPhoto2In(List<String> values) {
            addCriterion("photo2 in", values, "photo2");
            return (Criteria) this;
        }

        public Criteria andPhoto2NotIn(List<String> values) {
            addCriterion("photo2 not in", values, "photo2");
            return (Criteria) this;
        }

        public Criteria andPhoto2Between(String value1, String value2) {
            addCriterion("photo2 between", value1, value2, "photo2");
            return (Criteria) this;
        }

        public Criteria andPhoto2NotBetween(String value1, String value2) {
            addCriterion("photo2 not between", value1, value2, "photo2");
            return (Criteria) this;
        }

        public Criteria andPhoto3IsNull() {
            addCriterion("photo3 is null");
            return (Criteria) this;
        }

        public Criteria andPhoto3IsNotNull() {
            addCriterion("photo3 is not null");
            return (Criteria) this;
        }

        public Criteria andPhoto3EqualTo(String value) {
            addCriterion("photo3 =", value, "photo3");
            return (Criteria) this;
        }

        public Criteria andPhoto3NotEqualTo(String value) {
            addCriterion("photo3 <>", value, "photo3");
            return (Criteria) this;
        }

        public Criteria andPhoto3GreaterThan(String value) {
            addCriterion("photo3 >", value, "photo3");
            return (Criteria) this;
        }

        public Criteria andPhoto3GreaterThanOrEqualTo(String value) {
            addCriterion("photo3 >=", value, "photo3");
            return (Criteria) this;
        }

        public Criteria andPhoto3LessThan(String value) {
            addCriterion("photo3 <", value, "photo3");
            return (Criteria) this;
        }

        public Criteria andPhoto3LessThanOrEqualTo(String value) {
            addCriterion("photo3 <=", value, "photo3");
            return (Criteria) this;
        }

        public Criteria andPhoto3Like(String value) {
            addCriterion("photo3 like", value, "photo3");
            return (Criteria) this;
        }

        public Criteria andPhoto3NotLike(String value) {
            addCriterion("photo3 not like", value, "photo3");
            return (Criteria) this;
        }

        public Criteria andPhoto3In(List<String> values) {
            addCriterion("photo3 in", values, "photo3");
            return (Criteria) this;
        }

        public Criteria andPhoto3NotIn(List<String> values) {
            addCriterion("photo3 not in", values, "photo3");
            return (Criteria) this;
        }

        public Criteria andPhoto3Between(String value1, String value2) {
            addCriterion("photo3 between", value1, value2, "photo3");
            return (Criteria) this;
        }

        public Criteria andPhoto3NotBetween(String value1, String value2) {
            addCriterion("photo3 not between", value1, value2, "photo3");
            return (Criteria) this;
        }

        public Criteria andPhoto4IsNull() {
            addCriterion("photo4 is null");
            return (Criteria) this;
        }

        public Criteria andPhoto4IsNotNull() {
            addCriterion("photo4 is not null");
            return (Criteria) this;
        }

        public Criteria andPhoto4EqualTo(String value) {
            addCriterion("photo4 =", value, "photo4");
            return (Criteria) this;
        }

        public Criteria andPhoto4NotEqualTo(String value) {
            addCriterion("photo4 <>", value, "photo4");
            return (Criteria) this;
        }

        public Criteria andPhoto4GreaterThan(String value) {
            addCriterion("photo4 >", value, "photo4");
            return (Criteria) this;
        }

        public Criteria andPhoto4GreaterThanOrEqualTo(String value) {
            addCriterion("photo4 >=", value, "photo4");
            return (Criteria) this;
        }

        public Criteria andPhoto4LessThan(String value) {
            addCriterion("photo4 <", value, "photo4");
            return (Criteria) this;
        }

        public Criteria andPhoto4LessThanOrEqualTo(String value) {
            addCriterion("photo4 <=", value, "photo4");
            return (Criteria) this;
        }

        public Criteria andPhoto4Like(String value) {
            addCriterion("photo4 like", value, "photo4");
            return (Criteria) this;
        }

        public Criteria andPhoto4NotLike(String value) {
            addCriterion("photo4 not like", value, "photo4");
            return (Criteria) this;
        }

        public Criteria andPhoto4In(List<String> values) {
            addCriterion("photo4 in", values, "photo4");
            return (Criteria) this;
        }

        public Criteria andPhoto4NotIn(List<String> values) {
            addCriterion("photo4 not in", values, "photo4");
            return (Criteria) this;
        }

        public Criteria andPhoto4Between(String value1, String value2) {
            addCriterion("photo4 between", value1, value2, "photo4");
            return (Criteria) this;
        }

        public Criteria andPhoto4NotBetween(String value1, String value2) {
            addCriterion("photo4 not between", value1, value2, "photo4");
            return (Criteria) this;
        }

        public Criteria andPhoto5IsNull() {
            addCriterion("photo5 is null");
            return (Criteria) this;
        }

        public Criteria andPhoto5IsNotNull() {
            addCriterion("photo5 is not null");
            return (Criteria) this;
        }

        public Criteria andPhoto5EqualTo(String value) {
            addCriterion("photo5 =", value, "photo5");
            return (Criteria) this;
        }

        public Criteria andPhoto5NotEqualTo(String value) {
            addCriterion("photo5 <>", value, "photo5");
            return (Criteria) this;
        }

        public Criteria andPhoto5GreaterThan(String value) {
            addCriterion("photo5 >", value, "photo5");
            return (Criteria) this;
        }

        public Criteria andPhoto5GreaterThanOrEqualTo(String value) {
            addCriterion("photo5 >=", value, "photo5");
            return (Criteria) this;
        }

        public Criteria andPhoto5LessThan(String value) {
            addCriterion("photo5 <", value, "photo5");
            return (Criteria) this;
        }

        public Criteria andPhoto5LessThanOrEqualTo(String value) {
            addCriterion("photo5 <=", value, "photo5");
            return (Criteria) this;
        }

        public Criteria andPhoto5Like(String value) {
            addCriterion("photo5 like", value, "photo5");
            return (Criteria) this;
        }

        public Criteria andPhoto5NotLike(String value) {
            addCriterion("photo5 not like", value, "photo5");
            return (Criteria) this;
        }

        public Criteria andPhoto5In(List<String> values) {
            addCriterion("photo5 in", values, "photo5");
            return (Criteria) this;
        }

        public Criteria andPhoto5NotIn(List<String> values) {
            addCriterion("photo5 not in", values, "photo5");
            return (Criteria) this;
        }

        public Criteria andPhoto5Between(String value1, String value2) {
            addCriterion("photo5 between", value1, value2, "photo5");
            return (Criteria) this;
        }

        public Criteria andPhoto5NotBetween(String value1, String value2) {
            addCriterion("photo5 not between", value1, value2, "photo5");
            return (Criteria) this;
        }

        public Criteria andOverviewIsNull() {
            addCriterion("overview is null");
            return (Criteria) this;
        }

        public Criteria andOverviewIsNotNull() {
            addCriterion("overview is not null");
            return (Criteria) this;
        }

        public Criteria andOverviewEqualTo(String value) {
            addCriterion("overview =", value, "overview");
            return (Criteria) this;
        }

        public Criteria andOverviewNotEqualTo(String value) {
            addCriterion("overview <>", value, "overview");
            return (Criteria) this;
        }

        public Criteria andOverviewGreaterThan(String value) {
            addCriterion("overview >", value, "overview");
            return (Criteria) this;
        }

        public Criteria andOverviewGreaterThanOrEqualTo(String value) {
            addCriterion("overview >=", value, "overview");
            return (Criteria) this;
        }

        public Criteria andOverviewLessThan(String value) {
            addCriterion("overview <", value, "overview");
            return (Criteria) this;
        }

        public Criteria andOverviewLessThanOrEqualTo(String value) {
            addCriterion("overview <=", value, "overview");
            return (Criteria) this;
        }

        public Criteria andOverviewLike(String value) {
            addCriterion("overview like", value, "overview");
            return (Criteria) this;
        }

        public Criteria andOverviewNotLike(String value) {
            addCriterion("overview not like", value, "overview");
            return (Criteria) this;
        }

        public Criteria andOverviewIn(List<String> values) {
            addCriterion("overview in", values, "overview");
            return (Criteria) this;
        }

        public Criteria andOverviewNotIn(List<String> values) {
            addCriterion("overview not in", values, "overview");
            return (Criteria) this;
        }

        public Criteria andOverviewBetween(String value1, String value2) {
            addCriterion("overview between", value1, value2, "overview");
            return (Criteria) this;
        }

        public Criteria andOverviewNotBetween(String value1, String value2) {
            addCriterion("overview not between", value1, value2, "overview");
            return (Criteria) this;
        }

        public Criteria andRatesFromIsNull() {
            addCriterion("rates_from is null");
            return (Criteria) this;
        }

        public Criteria andRatesFromIsNotNull() {
            addCriterion("rates_from is not null");
            return (Criteria) this;
        }

        public Criteria andRatesFromEqualTo(String value) {
            addCriterion("rates_from =", value, "ratesFrom");
            return (Criteria) this;
        }

        public Criteria andRatesFromNotEqualTo(String value) {
            addCriterion("rates_from <>", value, "ratesFrom");
            return (Criteria) this;
        }

        public Criteria andRatesFromGreaterThan(String value) {
            addCriterion("rates_from >", value, "ratesFrom");
            return (Criteria) this;
        }

        public Criteria andRatesFromGreaterThanOrEqualTo(String value) {
            addCriterion("rates_from >=", value, "ratesFrom");
            return (Criteria) this;
        }

        public Criteria andRatesFromLessThan(String value) {
            addCriterion("rates_from <", value, "ratesFrom");
            return (Criteria) this;
        }

        public Criteria andRatesFromLessThanOrEqualTo(String value) {
            addCriterion("rates_from <=", value, "ratesFrom");
            return (Criteria) this;
        }

        public Criteria andRatesFromLike(String value) {
            addCriterion("rates_from like", value, "ratesFrom");
            return (Criteria) this;
        }

        public Criteria andRatesFromNotLike(String value) {
            addCriterion("rates_from not like", value, "ratesFrom");
            return (Criteria) this;
        }

        public Criteria andRatesFromIn(List<String> values) {
            addCriterion("rates_from in", values, "ratesFrom");
            return (Criteria) this;
        }

        public Criteria andRatesFromNotIn(List<String> values) {
            addCriterion("rates_from not in", values, "ratesFrom");
            return (Criteria) this;
        }

        public Criteria andRatesFromBetween(String value1, String value2) {
            addCriterion("rates_from between", value1, value2, "ratesFrom");
            return (Criteria) this;
        }

        public Criteria andRatesFromNotBetween(String value1, String value2) {
            addCriterion("rates_from not between", value1, value2, "ratesFrom");
            return (Criteria) this;
        }

        public Criteria andContinentIdIsNull() {
            addCriterion("continent_id is null");
            return (Criteria) this;
        }

        public Criteria andContinentIdIsNotNull() {
            addCriterion("continent_id is not null");
            return (Criteria) this;
        }

        public Criteria andContinentIdEqualTo(String value) {
            addCriterion("continent_id =", value, "continentId");
            return (Criteria) this;
        }

        public Criteria andContinentIdNotEqualTo(String value) {
            addCriterion("continent_id <>", value, "continentId");
            return (Criteria) this;
        }

        public Criteria andContinentIdGreaterThan(String value) {
            addCriterion("continent_id >", value, "continentId");
            return (Criteria) this;
        }

        public Criteria andContinentIdGreaterThanOrEqualTo(String value) {
            addCriterion("continent_id >=", value, "continentId");
            return (Criteria) this;
        }

        public Criteria andContinentIdLessThan(String value) {
            addCriterion("continent_id <", value, "continentId");
            return (Criteria) this;
        }

        public Criteria andContinentIdLessThanOrEqualTo(String value) {
            addCriterion("continent_id <=", value, "continentId");
            return (Criteria) this;
        }

        public Criteria andContinentIdLike(String value) {
            addCriterion("continent_id like", value, "continentId");
            return (Criteria) this;
        }

        public Criteria andContinentIdNotLike(String value) {
            addCriterion("continent_id not like", value, "continentId");
            return (Criteria) this;
        }

        public Criteria andContinentIdIn(List<String> values) {
            addCriterion("continent_id in", values, "continentId");
            return (Criteria) this;
        }

        public Criteria andContinentIdNotIn(List<String> values) {
            addCriterion("continent_id not in", values, "continentId");
            return (Criteria) this;
        }

        public Criteria andContinentIdBetween(String value1, String value2) {
            addCriterion("continent_id between", value1, value2, "continentId");
            return (Criteria) this;
        }

        public Criteria andContinentIdNotBetween(String value1, String value2) {
            addCriterion("continent_id not between", value1, value2, "continentId");
            return (Criteria) this;
        }

        public Criteria andContinentNameIsNull() {
            addCriterion("continent_name is null");
            return (Criteria) this;
        }

        public Criteria andContinentNameIsNotNull() {
            addCriterion("continent_name is not null");
            return (Criteria) this;
        }

        public Criteria andContinentNameEqualTo(String value) {
            addCriterion("continent_name =", value, "continentName");
            return (Criteria) this;
        }

        public Criteria andContinentNameNotEqualTo(String value) {
            addCriterion("continent_name <>", value, "continentName");
            return (Criteria) this;
        }

        public Criteria andContinentNameGreaterThan(String value) {
            addCriterion("continent_name >", value, "continentName");
            return (Criteria) this;
        }

        public Criteria andContinentNameGreaterThanOrEqualTo(String value) {
            addCriterion("continent_name >=", value, "continentName");
            return (Criteria) this;
        }

        public Criteria andContinentNameLessThan(String value) {
            addCriterion("continent_name <", value, "continentName");
            return (Criteria) this;
        }

        public Criteria andContinentNameLessThanOrEqualTo(String value) {
            addCriterion("continent_name <=", value, "continentName");
            return (Criteria) this;
        }

        public Criteria andContinentNameLike(String value) {
            addCriterion("continent_name like", value, "continentName");
            return (Criteria) this;
        }

        public Criteria andContinentNameNotLike(String value) {
            addCriterion("continent_name not like", value, "continentName");
            return (Criteria) this;
        }

        public Criteria andContinentNameIn(List<String> values) {
            addCriterion("continent_name in", values, "continentName");
            return (Criteria) this;
        }

        public Criteria andContinentNameNotIn(List<String> values) {
            addCriterion("continent_name not in", values, "continentName");
            return (Criteria) this;
        }

        public Criteria andContinentNameBetween(String value1, String value2) {
            addCriterion("continent_name between", value1, value2, "continentName");
            return (Criteria) this;
        }

        public Criteria andContinentNameNotBetween(String value1, String value2) {
            addCriterion("continent_name not between", value1, value2, "continentName");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNull() {
            addCriterion("city_id is null");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNotNull() {
            addCriterion("city_id is not null");
            return (Criteria) this;
        }

        public Criteria andCityIdEqualTo(String value) {
            addCriterion("city_id =", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotEqualTo(String value) {
            addCriterion("city_id <>", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThan(String value) {
            addCriterion("city_id >", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThanOrEqualTo(String value) {
            addCriterion("city_id >=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThan(String value) {
            addCriterion("city_id <", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThanOrEqualTo(String value) {
            addCriterion("city_id <=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLike(String value) {
            addCriterion("city_id like", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotLike(String value) {
            addCriterion("city_id not like", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdIn(List<String> values) {
            addCriterion("city_id in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotIn(List<String> values) {
            addCriterion("city_id not in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdBetween(String value1, String value2) {
            addCriterion("city_id between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotBetween(String value1, String value2) {
            addCriterion("city_id not between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andCountryIdIsNull() {
            addCriterion("country_id is null");
            return (Criteria) this;
        }

        public Criteria andCountryIdIsNotNull() {
            addCriterion("country_id is not null");
            return (Criteria) this;
        }

        public Criteria andCountryIdEqualTo(String value) {
            addCriterion("country_id =", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdNotEqualTo(String value) {
            addCriterion("country_id <>", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdGreaterThan(String value) {
            addCriterion("country_id >", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdGreaterThanOrEqualTo(String value) {
            addCriterion("country_id >=", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdLessThan(String value) {
            addCriterion("country_id <", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdLessThanOrEqualTo(String value) {
            addCriterion("country_id <=", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdLike(String value) {
            addCriterion("country_id like", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdNotLike(String value) {
            addCriterion("country_id not like", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdIn(List<String> values) {
            addCriterion("country_id in", values, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdNotIn(List<String> values) {
            addCriterion("country_id not in", values, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdBetween(String value1, String value2) {
            addCriterion("country_id between", value1, value2, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdNotBetween(String value1, String value2) {
            addCriterion("country_id not between", value1, value2, "countryId");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsIsNull() {
            addCriterion("number_of_reviews is null");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsIsNotNull() {
            addCriterion("number_of_reviews is not null");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsEqualTo(String value) {
            addCriterion("number_of_reviews =", value, "numberOfReviews");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsNotEqualTo(String value) {
            addCriterion("number_of_reviews <>", value, "numberOfReviews");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsGreaterThan(String value) {
            addCriterion("number_of_reviews >", value, "numberOfReviews");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsGreaterThanOrEqualTo(String value) {
            addCriterion("number_of_reviews >=", value, "numberOfReviews");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsLessThan(String value) {
            addCriterion("number_of_reviews <", value, "numberOfReviews");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsLessThanOrEqualTo(String value) {
            addCriterion("number_of_reviews <=", value, "numberOfReviews");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsLike(String value) {
            addCriterion("number_of_reviews like", value, "numberOfReviews");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsNotLike(String value) {
            addCriterion("number_of_reviews not like", value, "numberOfReviews");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsIn(List<String> values) {
            addCriterion("number_of_reviews in", values, "numberOfReviews");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsNotIn(List<String> values) {
            addCriterion("number_of_reviews not in", values, "numberOfReviews");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsBetween(String value1, String value2) {
            addCriterion("number_of_reviews between", value1, value2, "numberOfReviews");
            return (Criteria) this;
        }

        public Criteria andNumberOfReviewsNotBetween(String value1, String value2) {
            addCriterion("number_of_reviews not between", value1, value2, "numberOfReviews");
            return (Criteria) this;
        }

        public Criteria andRatingAverageIsNull() {
            addCriterion("rating_average is null");
            return (Criteria) this;
        }

        public Criteria andRatingAverageIsNotNull() {
            addCriterion("rating_average is not null");
            return (Criteria) this;
        }

        public Criteria andRatingAverageEqualTo(String value) {
            addCriterion("rating_average =", value, "ratingAverage");
            return (Criteria) this;
        }

        public Criteria andRatingAverageNotEqualTo(String value) {
            addCriterion("rating_average <>", value, "ratingAverage");
            return (Criteria) this;
        }

        public Criteria andRatingAverageGreaterThan(String value) {
            addCriterion("rating_average >", value, "ratingAverage");
            return (Criteria) this;
        }

        public Criteria andRatingAverageGreaterThanOrEqualTo(String value) {
            addCriterion("rating_average >=", value, "ratingAverage");
            return (Criteria) this;
        }

        public Criteria andRatingAverageLessThan(String value) {
            addCriterion("rating_average <", value, "ratingAverage");
            return (Criteria) this;
        }

        public Criteria andRatingAverageLessThanOrEqualTo(String value) {
            addCriterion("rating_average <=", value, "ratingAverage");
            return (Criteria) this;
        }

        public Criteria andRatingAverageLike(String value) {
            addCriterion("rating_average like", value, "ratingAverage");
            return (Criteria) this;
        }

        public Criteria andRatingAverageNotLike(String value) {
            addCriterion("rating_average not like", value, "ratingAverage");
            return (Criteria) this;
        }

        public Criteria andRatingAverageIn(List<String> values) {
            addCriterion("rating_average in", values, "ratingAverage");
            return (Criteria) this;
        }

        public Criteria andRatingAverageNotIn(List<String> values) {
            addCriterion("rating_average not in", values, "ratingAverage");
            return (Criteria) this;
        }

        public Criteria andRatingAverageBetween(String value1, String value2) {
            addCriterion("rating_average between", value1, value2, "ratingAverage");
            return (Criteria) this;
        }

        public Criteria andRatingAverageNotBetween(String value1, String value2) {
            addCriterion("rating_average not between", value1, value2, "ratingAverage");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyIsNull() {
            addCriterion("rates_currency is null");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyIsNotNull() {
            addCriterion("rates_currency is not null");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyEqualTo(String value) {
            addCriterion("rates_currency =", value, "ratesCurrency");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyNotEqualTo(String value) {
            addCriterion("rates_currency <>", value, "ratesCurrency");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyGreaterThan(String value) {
            addCriterion("rates_currency >", value, "ratesCurrency");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyGreaterThanOrEqualTo(String value) {
            addCriterion("rates_currency >=", value, "ratesCurrency");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyLessThan(String value) {
            addCriterion("rates_currency <", value, "ratesCurrency");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyLessThanOrEqualTo(String value) {
            addCriterion("rates_currency <=", value, "ratesCurrency");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyLike(String value) {
            addCriterion("rates_currency like", value, "ratesCurrency");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyNotLike(String value) {
            addCriterion("rates_currency not like", value, "ratesCurrency");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyIn(List<String> values) {
            addCriterion("rates_currency in", values, "ratesCurrency");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyNotIn(List<String> values) {
            addCriterion("rates_currency not in", values, "ratesCurrency");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyBetween(String value1, String value2) {
            addCriterion("rates_currency between", value1, value2, "ratesCurrency");
            return (Criteria) this;
        }

        public Criteria andRatesCurrencyNotBetween(String value1, String value2) {
            addCriterion("rates_currency not between", value1, value2, "ratesCurrency");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}